import sys


n = int(input().strip())

for i in range(10):
    print(n,'x',i+1,'=',(n*(i+1)))
